{template "content","header"}
<!--main-->
<div class="main_tab">
	{template "content","left"}
	<div class="tab">
		<div class=tab_lm>
			<P>{pc:block pos="page" siteid="$siteid"}{/pc}</P>
			<div class=tab_title>
				<div class=tab_title_right>
					{pc:content action="category" catid="35" num="25" siteid="$siteid" order="listorder ASC"}
					{loop $data $r}
						<span class="txt_nav"><a href="{$r[url]}" {if $r['catid']==40}target="_blank"{/if}>{$r[catname]}</a></span>
					{/loop}
					{/pc}
				</div>
			</div>
		</div>
		<div class="want">
			 <div class="wyz">
			   <img src="{IMG_PATH}wtz.jpg" alt="投资理财"/>
			   <span><a href="/index.php?m=formguide&c=index&a=show&formid=12&siteid=1">了解更多>></a></span>
			 </div>
			 <div class="wtz">
			   <img src="{IMG_PATH}wyz.jpg" alt="融资借贷"/>
			   <span><a href="/index.php?m=formguide&c=index&a=show&formid=11&siteid=1">了解更多>></a></span>
			 </div>		
		</div>
		<div class="apply">
  	<div class="income">
      <div class="appli">
          <img src="{IMG_PATH}income.jpg" />
          <ul>
          	<li>全新理财模式</li>
            <li>资产抵押投资</li>
            <li>一站式服务好</li>
            <li>收益高有保障</li>
          </ul>
      </div>
        <div class="app_tabel_left">
    		{template "content","f1"}
		</div>
    </div>
    <div class="interest">
    	<div class="appli">
          <img src="{IMG_PATH}interest.jpg" />
          <ul>
          	<li>全新理财模式</li>
            <li>银行民间借贷</li>
            <li>资产抵押公证</li>
            <li>利息低额度高</li>
          </ul>
      </div>
		<div class="app_tabel_right">
    		{template "content","f11"}
		</div>
    </div>
</div>	
		<div class="want" id="s1">
			 <div class="wyz1">
			   <img src="{IMG_PATH}tzlx.jpg"/>
			   <p><a href="/index.php?m=formguide&c=index&a=show&formid=12&siteid=1">发布投资信息</a></p>
			 </div>
		</div>
		<?php
			$page = $_GET['page'];
			$urlrule=url_par('page={$'.'page}#s1','index.php?m=content');
		?>
		<div class="licaigd">
			<div class="scroll">
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="fabu">
  <tr class="h1">
    <td width="6%" align="center" valign="middle">编号</td>
    <td width="12%" align="center" valign="middle">投资人</td>
    <td width="12%" align="center" valign="middle">投资金额</td>
    <td width="12%" align="center" valign="middle">投资方向</td>
    <td width="12%" align="center" valign="middle">投资月利率</td>
    <td width="11%" align="center" valign="middle">投资期限</td>
    <td width="14%" align="center" valign="middle">投资人地区</td>
    <td width="12%" align="center" valign="middle">发布日期</td>
    <td align="center" valign="middle">最新状态</td>
  </tr>
  {pc:get sql="SELECT * FROM v9_form_wytz ORDER BY dataid desc" return="data" num="10" page="$page" urlrule="$urlrule"} 
					{loop $data $r}
  <tr {if $n%2==0}class="bg"{/if}>
    <td width="6%" align="center" valign="middle">{$r['dataid']}</td>
    <td width="12%" align="center" valign="middle">{$r['name']}</td>
    <td width="12%" align="center" valign="middle" class="red">{$r['money']}万元</td>
    <td width="12%" align="center" valign="middle">{content_box('type', $r['type'], 12)}</td>
    <td width="12%" align="center" valign="middle">{$r['gl']}%</td>
    <td width="11%" align="center" valign="middle">{$r['time']}个月</td>
    <td width="14%" align="center" valign="middle">{$r['city']}</td>
    <td width="12%" align="center" valign="middle">{date('Y-m-d',$r['datetime'])}</td>
    <td align="center" valign="middle" height="30">--</td>
  </tr>
  {/loop}	
{/pc}
</table>
				<div id="pages" class="page">{$pages}</div>
			</div>
		</div>
				<div class="want" id="s2">
			 <div class="wyz1">
			   <img src="{IMG_PATH}jdlx.jpg"/>
			   <p><a href="/index.php?m=formguide&c=index&a=show&formid=11&siteid=1">发布借款信息</a></p>
			 </div>
		</div>
		<?php
			$page = $_GET['page2'];
			$urlrule=url_par('page2={$'.'page}#s2','index.php?m=content');
		?>
		<div class="licaigd">
			<div class="scroll">
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="fabu">
  <tr class="h1">
    <td width="6%" align="center" valign="middle">编号</td>
    <td width="9%" align="center" valign="middle">借款人</td>
    <td width="12%" align="center" valign="middle">借款金额</td>
    <td width="12%" align="center" valign="middle">借款用途</td>
    <td width="9%" align="center" valign="middle">借款月利率</td>
    <td width="9%" align="center" valign="middle">借款期限</td>
    <td width="13%" align="center" valign="middle">借款方式</td>
    <td width="13%" align="center" valign="middle">抵押物品</td>
    <td width="9%" align="center" valign="middle">发布日期</td>
    <td align="center" valign="middle">最新状态</td>
  </tr>
  {pc:get sql="SELECT * FROM v9_form_wydk ORDER BY dataid desc" return="data" num="10" page="$page" urlrule="$urlrule"} 
					{loop $data $r}
  <tr {if $n%2==0}class="bg"{/if}>
      <td width="6%" align="center" valign="middle">{$r['dataid']}</td>
    <td width="9%" align="center" valign="middle">{$r['name1']}</td>
    <td width="12%" align="center" valign="middle" class="red">{$r['money2']}万元</td>
    <td width="12%" align="center" valign="middle">{$r['yt']}</td>
    <td width="9%" align="center" valign="middle">{$r['ygl']}%</td>
    <td width="9%" align="center" valign="middle">{$r['qx']}个月</td>
    <td width="13%" align="center" valign="middle">{content_box('type2', $r['type2'], 11)}</td>
    <td width="13%" align="center" valign="middle">{content_box('dyw', $r['dyw'], 11)}</td>
    <td width="9%" align="center" valign="middle">{date('Y-m-d',$r['datetime'])}</td>
    <td align="center" valign="middle" height="30">--</td>
  </tr>
  {/loop}	
{/pc}
</table>
				<div id="pages" class="page">{$pages}</div>
			</div>
		</div>
		<div class=tab_lm>
			<div class=tab_title_1>
				<div class=tab_title_left11><a href="/html/zx/zx_index.html" style="color:#FFFFFF"></a></div>
				<div class=tab_title_right></div>
			</div>
		</div>
		<div class=tab_nr1 >
			<div class=tab_nr1_left style="background:url({IMG_PATH}tab_bg11.jpg) no-repeat;">
				<div style=" padding-top:5px;">
    				{pc:content action="lists" catid="23" num="11" order="id DESC" }
						{loop $data $v}
				<table width="100%" border="0" cellpadding="0" cellspacing="0" style="line-height:26px; font-size:14px;">
				  <tr>
					<td><a href="{$v[url]}" target="_blank"{title_style($v[style])}>.{$v[title]}</a></td>
					<td width="23%">{date('Y-m-d',$v[inputtime])}</td>
				  </tr>
			  </table>
						{/loop}
					{/pc}
				</div>
				<div style="text-align:right;"><a href="/html/zx/zx_index.html" style="color:#FF0000; font-size:14px">更多内容</a></div>
			</div>
			<div class=tab_nr1_right_1>
				{template "content","f2"}
			</div>
		</div>
		<div class="hezuoyinhang">
			<div class="hezuoyinhang_title_img"><img alt="" src="/uploadfile/2012/0223/20120223031141954.jpg" /></div>
			<div class="hezuoyinhang_title"></div>
			<div class="yhlist">
					{pc:content  action="position" posid="1" catid="36" thumb="1" order="listorder asc" num="18"}
						{loop $data $v}
						  <div class="yhbg">
							<div class="yhbg_img"><a href="{$v[url1]}" target="_blank"}><img src="{$v[thumb]}" /></a></div>
							<div class="yhbg_title"><a href="{$v[url1]}" target="_blank"{title_style($v[style])}>{$v[title]}</a></div>
						  </div>
						{/loop}
					{/pc}
			</div>
			{pc:block pos="hezuoyinghang" siteid="$siteid"}{/pc}
	</div>
	</div>
</div>
{template "content","footer"}
<script type="text/javascript">
	function AutoScroll(obj){
		jQuery(obj).find("ul:first").animate({
			marginTop:"-25px"
		},500,function(){
			jQuery(this).css({marginTop:"0px"}).find("li:first").appendTo(this);
		});
	}
	jQuery(document).ready(function(){
		//setInterval('AutoScroll("#s1,#s2")',3000);
	});
</script> 